import java.util.*;
public class _1210 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        for(int i=n;i>=0;i--){
            System.out.println(i);
        }
    }
}
